<jsp:directive.page contentType="text/html;charset=utf-8" />

<script>
	$(function() {

	});
</script>
<%--
<div class="accordion" id="accordion2">
<s:iterator value="catalog.childCategories" var="cat" >
  <div class="accordion-group">
    <div class="accordion-heading">
      <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#${name}">
        <strong><s:property value="name"/> | <s:property value="nameEn"/></strong>
      </a>
    </div>
    <div id="${name}" class="accordion-body collapse in">
      <div class="accordion-inner">
			<ul class="nav nav-list">
				<li class="active"><a class="btn-link" href="?trade.product.primaryCategory.id=<s:property value='id'/>" 
									title="<s:property value='name'/>">	全部	 | All<i class="icon-chevron-right pull-right"></i></a></li>				
				<s:iterator value="childCategories" var="category">
					<li class=""><a class="btn-link" href="?trade.product.primaryCategory.id=<s:property value='#category.id'/>" 
					title="<s:property value='#category.name'/>">
					<s:property value="#category.name"/> | <s:property value="#category.nameEn"/><i class="icon-chevron-right pull-right"></i></a></li>
				</s:iterator>
			</ul>
      </div>
    </div>
  </div>
</s:iterator>
</div>
--%>
<div id="accordion">
	<s:iterator value="catalog.childCategories" var="cat" status="status">
		<h3><a href="?trade.product.primaryCategory.id=<s:property value='id'/>" 
				title="<s:property value='name'/>">
				<strong><s:property value="name"/> | <s:property value="nameEn"/></strong></a></h3>
			<ul id="<s:property value='#status.index'/>" class="nav nav-list">
				<li class=""><a class="btn-link" href="${ctx}/trade!list.action?trade.product.primaryCategory.id=<s:property value='id'/>" 
									title="<s:property value='name'/>">	全部	 | All</a></li>				
				<s:iterator value="childCategories" var="category">
					<li class=""><a class="btn-link" href="${ctx}/trade!list.action?trade.product.primaryCategory.id=<s:property value='#category.id'/>" 
					title="<s:property value='#category.name'/>">
					<s:property value="#category.name"/> | <s:property value="#category.nameEn"/></a></li>
				</s:iterator>
			</ul>
	</s:iterator>
</div>
